package ltd.hxya.novel.crawl.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import ltd.hxya.novel.common.to.book.BookChapterTo;
import ltd.hxya.novel.common.vo.BookIndexVo;
import ltd.hxya.novel.crawl.entity.CrawlRule;

import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class CrawlTask {
    private Integer crawlSourceId;

    private CrawlRule crawlRule;

    private String bookId;

    //Url和章节名称
  /*  private LinkedHashMap<String,String> chapterMap;*/
    private List<BookChapterTo> chapterInfos;


}
